export interface RootLoaderData {
  appName: string
}

export type PermissionCode =
  | 'sp-operate:dashboard'
  | 'sp-operate:settings'
  | 'sp-operate:list'
  | 'sp-operate:mt'
  | 'sp-operate:user'
  | 'sp-operate:manage'

export interface LoginFormValues {
  username: string
  password: string
  code: string
  img_code: string
}

export interface UserInfo {
  accountId: string
  address: string | null
  code: string | null
  deptName: string | null
  fullname: string | null
  orgName: string | null
  phone: string | null
  postName: string | null
  roleName: string | null
  sex: number | null
  username: string | null
}
